package com.ywl.study.seata.service;

import java.sql.SQLException;

public abstract class AbstractDataCheck {
    public boolean validNegativeCheck(String field,String id) throws SQLException{
        return doNegativeCheck(field,id)>=0;
    }

    public abstract int doNegativeCheck(String field,String id) throws SQLException;
}
